//
//  MyLoanModel.m
//  MRBang
//
//  Created by 铅笔 on 16/5/12.
//  Copyright © 2016年 杭州易网新科技. All rights reserved.
//

#import "MyLoanModel.h"

@implementation MyLoanModel
- (void) decodeDic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"loanname"] isKindOfClass:[NSNull class]]) {
            self.loanname = [dic objectForKey:@"loanname"];
        }
        if (![[dic objectForKey:@"period"] isKindOfClass:[NSNull class]]) {
            self.period = [dic objectForKey:@"period"];
        }
        if (![[dic objectForKey:@"poundage"] isKindOfClass:[NSNull class]]) {
            self.poundage = [dic objectForKey:@"poundage"];
        }
        if (![[dic objectForKey:@"prince"] isKindOfClass:[NSNull class]]) {
            self.prince = [dic objectForKey:@"prince"];
        }
        if (![[dic objectForKey:@"status"] isKindOfClass:[NSNull class]]) {
            self.status = [dic objectForKey:@"status"];
        }
    }
}

@end
